from django.urls import path

# urls.py
from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import EntryViewSet

router = DefaultRouter()
router.register(r'candidates', EntryViewSet)

urlpatterns = [
    path('candidateslist/', include(router.urls)),
]